package com.mike.service;

import com.mike.po.User;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Description
 * @Date 2021/11/29 11:06
 * @Created by mike
 */
public interface UserService {
    Integer register(HttpServletResponse response, String email, String password, String code);

    Boolean isRegistered(String email);

    String login(HttpServletResponse response, String email, String password);

    String getEmailByToken(String token);

    List<User> list();
}
